package com.logic.system.service;

import java.util.HashMap;
import java.util.List;

import com.logic.common.exception.BusinessException;
import com.logic.system.domain.WeChatUser;
import com.logic.system.ws.dto.WeChatCorporateDTO;


public interface IWeChatService{
	/*-----------------组织接口-----------------*/
	String createCorperate(HashMap map) throws Exception;
	String deleteCorperate(int corpId) throws Exception;
	String updateCorperate(WeChatCorporateDTO corpId) throws BusinessException;
	String getCorperateList() throws Exception;
	String getCorperateListById(int id) throws Exception;
	//String deleteCorpWithChild(int corpId);
	
	
	/*-----------------成员接口-----------------*/
	String addUser(WeChatUser user) throws Exception;
	String updateUser(WeChatUser user) throws Exception;
	String deleteUser(int userid) throws Exception;
	String batchDelete(List<String> userIDs) throws Exception;
	String getUser(int userid) throws Exception;
	String getCorpUsers(HashMap map) throws Exception;

	/*-----------------code-----------------*/
	String getUserInfoByCode(String code) throws Exception;
	
}
